package com.cluster.platform.service;

import com.cluster.platform.common.api.CommonResult;
import com.cluster.platform.dto.CmsChannelInfoDto;
import com.cluster.platform.model.CmsChannelInfo;

import java.util.List;

/**
 * 标签管理
 */
public interface CmsChannelInfoService {

    // 分页查询
    CommonResult<Object> searchChannelPage(CmsChannelInfoDto cmsChannelInfoDto);

    // 新增标签
    CommonResult<Object> addChannel(CmsChannelInfo cmsChannelInfo);

    // 更新标签
    CommonResult<Object> updateChannel(CmsChannelInfo cmsChannelInfo);

    // 删除标签
    CommonResult<Object> delChannel(CmsChannelInfo cmsChannelInfo);

    // 批量操作
    CommonResult<Object> batchChannel(Integer status, List<String> ids);

    // 树状菜单
    CommonResult<Object> getChannelTree();

    // 查询所有可用栏目
    CommonResult<Object> getChannelList();
}
